let $ = layui.jquery;
let jQuery=$;
let SettingData = {};//配置文件参数
let SeleteData = {};//筛选参数
let menu_code = '';
let raw = '';//排序
let InitData={};
let table_config = [
    {
        "title": "全部",
        "code": "all",
        "num": 0,
        "on": false,
        "url": "/ruinuo/app/tabs/",
        "left": {
            "status": 2,
            "title": "应用",
            "options_id": "1",
            "key_field": "id",
            "show_field": "name",
            "field": "app_id",
            "type": 2,
            "url": {
                "title": "",
                "list": "/common/options/leftlists/?num=1",
                "add": "",
                "edit": "",
                "delete": "",
                "width": "",
                "height": ""
            }
        },
        "source": [],
        "header": {
            "menu": [],
            "total": [],
            "button": [],
            "search": [
                {
                    "title": "关键词",
                    "field": "keyword",
                    "placeholder": "应用名称|应用编码",
                    "width": "280px",
                    "hide_label": 1,
                    "tag": "input",
                    "value": "",
                    "group_prefix": "关键词"
                }
            ]
        },
        "table": {
            "style": 1,
            "parent_id": "111",
            "parent_name": "title",
            "limit": 30,
            "page": true,
            "elem": "datatable",
            "height": "full-130",
            "update": "/ruinuo/app/upfield/",
            "url": "/ruinuo/app/lists/",
            "cols": [
                {
                    "align": "",
                    "field": "name",
                    "group": "",
                    "title": "应用名称",
                    "search": "like",
                    "select": "",
                    "update": "",
                    "options": "",
                    "position": "center",
                    "minWidth": 90
                },
                {
                    "field": "num",
                    "title": "应用编码",
                    "search": "like",
                    "update": "",
                    "minWidth": 90
                },
                {
                    "field": "notes",
                    "title": "备注",
                    "minWidth": 90
                },
                {
                    "field": "create_time",
                    "title": "新增时间",
                    "minWidth": 90
                }
            ],
            "button": []
        }
    }
];
let form_config = {
    detail:'/ruinuo/app/detail/',
    add:'/ruinuo/app/add/',
    edit:'/ruinuo/app/edit/',
    label_width:'',
    form_label:'form_right',
    onclick:[],
};
